package net.superdvach.network;

import net.i2p.data.*;

public class I2PNetworkAddress implements NetworkAddress {

	public I2PNetworkAddress(String str) throws DataFormatException {
		m_address = new Destination(str);
	}
	
	@Override
	public NetworkLayer layer() {
		return m_layer;
	}
	
	public String toString() {
		return m_address.toString();
	}
	
	public Destination destination() {
		return m_address;
	}

	private NetworkLayer m_layer;
	private Destination m_address;
}
